package com.dk.service.impl;

import com.dk.entity.DtItem;
import com.dk.mapper.DtItemMapper;
import com.dk.service.IDtItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品表，SKU表 服务实现类
 * </p>
 *
 * @author author
 * @since 2021-12-17
 */
@Service
public class DtItemServiceImpl  implements IDtItemService {

    @Autowired
    private DtItemMapper mapper;
    @Override
    public List<DtItem> seleteAll() {
        List<DtItem> list = mapper.selectList(null);
        return list;
    }
}
